<cp-navbar (onClickLeft)="onClickLeft()"></cp-navbar>
<div class="error" *ngIf="error">
    <cp-error (reload)="handleReload()"></cp-error>
</div>
<div class="loading" *ngIf="loading">
    <cp-loading></cp-loading>
</div>
<div class="container" *ngIf="!loading&&!error">

    <section class="view">

        <div class="header" *ngIf="!isType">
            <cp-estate-comment-more [isPraise]="false" [item]="comments" (praise)="praise($event)"></cp-estate-comment-more>
        </div>

        <div class="header" *ngIf="isType">
            <cp-estate-comment-type [isPraise]="false" [item]="comments" (praise)="praise($event)"></cp-estate-comment-type>
        </div>

        <div class="content">
            <div class="title border-bottom">
                <p> 全部回复(共{{replys.length}}条)</p>
            </div>
            <div class="item" *ngFor="let item of replys">
                <cp-estate-comment [item]="item"></cp-estate-comment>
            </div>

            <div class="nullReply" *ngIf="replys.length===0">
                <p>暂无回复</p>
            </div>
        </div>
    </section>

</div>